/*
package com.xiaoluyy.demo.config;

import com.xiaoluyy.memcache.MemcacheService;
import com.xiaoluyy.memcache.MemcacheServiceImpl;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.Arrays;

*/
/*
*
 * MemcacheClient configuration
*//*



@Configuration
public class MemcacheClientConfig {

    @Value("${memcache.addr}")
    String serverAddr;

    @Bean(name = "memcacheClient")
    public MemcacheService beanstalkdClient() throws Exception {
        MemcacheServiceImpl memcache = new MemcacheServiceImpl();
        memcache.setMemcacheAddrs(serverAddr);
        memcache.init();
        return memcache;
    }

}
*/
